<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1">
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			.wrapper{
				width: 100%;
				height: 100vh;
				background-color: #59375A;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
			.wrapper .header{
				width: 70vw;
				height: 8vw;
				background-color: #6d4a70;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-size: 2.5vw;
				color: white;
				font-weight: 500;
			}
			.wrapper .header .header_left{
				margin-left: 3vw;
			}
			.wrapper .header .header_right{
				margin-right: 3vw;
			}
			.wrapper .body{
				width: 70vw;
				height: 18vw;
				background-color:#f2f2f2;
				display: flex;
				flex-direction: column;
				justify-content: center;
				align-items: center;
			}
			.wrapper .body .body_login{
				width: 85%;
				margin: 1vw 3vw;
			}
			.wrapper .body .body_login input{
				width: 100%;
                height: 4vw;
				border-radius: 3px;
				background-color:white;
				border: 1px solid #666;
				font-size: 1.5vw;
			}
			.wrapper .foot{
				width: 70vw;
				background-color:#f2f2f2;
				height: 10vw;
				display: flex;
				flex-direction: row;
				justify-content: flex-start;
				align-items: center;
				padding-bottom: 4vw;
				box-sizing: border-box;
			}
			.wrapper .foot .foot_left{
				margin-left: 5vw;
			}
			.wrapper .foot .foot_right{
				margin-right: 3vw;
				margin-left: 3vw;
			}
			.wrapper .foot .foot_left input{
				width: 12vw;
				height: 4vw;
				background-color:#59375A;
				border: none;
				color: white;
				font-size: 2vw;
				text-align: center;
				border-radius: 1vw;
			}
			
			.wrapper .foot .foot_right a{
				text-decoration: none;
				font-size: 1.6vw;
				color:darkgray;
			}
		</style>
	</head>
	<body>
		<div class="wrapper">
			<form action="success.html" method="post">
				<div class="header">
					<p class="header_left">login From</p>
					<p class="header_right">&times</p>
				</div>
				<div class="body">
					<div class="body_login">
						<input type="text"  style="background:url(img/5f5ae39938721.png) no-repeat;background-position:  100% center;"  pattern="^[0-9][a-z0-9]{4,10}$" required placeholder="用户名不能为空,必须以数字开头,可以包含小写字母和数字" />
					</div>
					<div class="body_login">
						<input type="password" style="background:url(img/suo.png) no-repeat;background-position: 100% center;" pattern="^[a-zA-Z0-9]{6,12}$" required placeholder="密码6-12位之间,数字和字母的组合" />
					</div>
				</div>
				<div class="foot">
					<div class="foot_left">
						<input type="submit" value="sign in"/>
					</div>
					<div class="foot_right">
						<a href="">Lost&nbsp;your&nbsp;Password&nbsp;?</a>
					</div>
				</div>
		    </form>
		</div>
	</body>
</html>
